﻿@model  GoodsVM

<div class="col-sm-3">
    <figure>
        <img src="@Model.Thumbnail" alt="" class="img-responsive" />
        <figcaption>
            @Model.Name
        </figcaption>
    </figure>
    <p>
        @string.Format("{0:c}", Model.Price)
        <a href="@Url.Action("AddToCart","ShoppingCart",new { id=Model.Id})" class="btn btn-primary">加入购物车</a>
    </p>

</div>
